//
//  MServerConfigCache.h
//  MClient
//
//  Created by  史正烨 on 09-10-3.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MServerDAOProtocol.h"


@interface MServerConfigCache : NSObject <MServerDAOProtocol> {
}

//@property (nonatomic,retain) NSMutableDictionary *menus;

+ (MServerConfigCache *)sharedInstance;
- (void)loadCacheFromStore:(NSString *)timeStamp server:aServer party:aParty user:aUser;
- (void)saveCacheToStore;
- (void)addMenu:(NSObject *)subMenus forKey:(NSString *)key;
- (void)addListLayout:(NSObject *)listLayout forKey:(NSString *)key;
- (void)addFormLayout:(NSObject *)formLayout forKey:(NSString *)key;
- (void)addLookupConfig:(NSObject *)lookupConfig forKey:(NSString *)key;
- (void)addReportQueryLayout:(NSObject *)reportQueryLayout forKey:(NSString *)key;

//- (void)initTestData;
@end
